package com.hx.noPattern;

/**
 * @author Huathy
 * @date 2021-09-05 15:23
 * @description 加了鸡蛋的煎饼
 */
public class BattercakeEgg extends Battercake{
    @Override
    protected String getMsg() {
        return super.getMsg() + "+鸡蛋";
    }

    @Override
    protected int price() {
        return super.price() + 2;
    }
}
